home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-0497 / AMOSLIST / text0022.txt < prev    next >
Encoding:
Text File  |  1998-06-24  |  1.2 KB  |  33 lines

  1. On 03-Apr-97, Jamie B wrote:
  2. > Eat the cow
  3. > And the cow didn't exist, it should say:
  4. > There is no cow to eat.
  5. > I don't know ho to do that normally...
  6. > Also: Case sensetive etc:
  7. > I want this:
  8. >     HELLO
  9. > To be the same as this:
  10. >     HeLlO
  11. (No case discrimination)...
  12. > Please help...
  13.  
  14. A$="Your string entered."
  15. B$=Lower$(A$)
  16. C=Instr(B$,"the cow")
  17. If C>0 Then Print "No cows here, you Boob!"
  18.  
  19. Well met and godspeed,
  20.                       Giark
  21.                                            joehick@golden.net
  22.                              http://www.golden.net/~joehick/fbn/index.html
  23.      ______  ______    _____  .------------------------------------------.
  24.     / ____/ / __  /   / ___ \ !     AMOS games, utilities, demos, etc.   !
  25.    / /__   / /_/ /   / /  / / !                                          !
  26.   / ___/  / ___  |  / /  / /  !       CyberSpace BBS (519)579-0072       !
  27.  / /     / /__/ /  / /  / /   !     on A2000 060/50MHz (519)579-0173     !
  28. /_/     /______/  /_/  /_/    !                                          !
  29.    Fly By Nite Videe-Oh!      !  FBN Amiga 500 020 14MHz 1C/5F RAM 3.1OS !
  30.                               `------------------------------------------'
  31.  
  32.  
  33.